package main

import (
	"github.com/gin-gonic/gin"
	"newapp/controller"
	"newapp/tool"
)

func main() {
	_ = tool.InitDB()
	app := gin.Default()
	Router(app)
	app.Run()
}

func Router(app *gin.Engine) {
	new(controller.MemberController).Register(app)
}
